package fun.codefarmer.pm.service;

import fun.codefarmer.pm.model.DepartMent;
import fun.codefarmer.pm.model.RespBean;

import java.util.List;

public interface DepartmentService {
    List<DepartMent> getAllDepartment();

    void addDep(DepartMent department);

    RespBean deleteDep(Integer id);

    List<DepartMent> getAllDepartmentWithOutChildren();
}
